/*************************************************************************
 *************************************************************************
 	 	 	 	 	 	 	M2SMA : AppleAgent.h
 *************************************************************************
 *
 	 Copyright (C) 2011
 	 DW-2011, Steven Costiou, France
 *
 **************************************************************************
 **************************************************************************
 *
	//TODO FILE COMMENT
 *
 **************************************************************************
 **************************************************************************
 *
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/
 *
 **************************************************************************
 **************************************************************************/

#ifndef APPLEAGENT_H_
#define APPLEAGENT_H_

#include "DWGraphicAgent.h"

class AppleAgent : public DWGraphicAgent
{
	public:

		AppleAgent(Engine* anEngine);
		~AppleAgent();

		AppleAgent(const AppleAgent& anAppleAgent);

		virtual SDL_Surface* getCurrentGraphics();

		virtual void live();

	protected:

		virtual void selfCopyFrom(const Basic2DGraphicAgent& anAgent, Engine* anEngine);
		virtual bool isEqualTo(const Basic2DGraphicAgent& anAgent) const;

	private:

		void initialize();
		void initializeGraphics();
		void cleanUpSDLObjects();

	private:

};

#endif /* APPLEAGENT_H_ */
